.zyyj{
    width: 100vw;
    min-height: 100vh;
    background-color: #f2f2f2;
    padding-bottom: 80px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.zyyj-top{
    width: 100%;
    height: 40px;
    background-color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.zyyj-top-left{
    width: 20px;
    height: 20px;
    margin-left: 15px;
}
.zyyj-top-title{
    margin-left: 130px;
    font-size: 17px;
    margin-top: 8px;
}
.zyyj-bg{
    width: 100%;
    height: 100%;
    // background-color: #fff;
    margin-top: 10px;
}
.zyyj-bg-one{
    width: 90%;
    height: 50px;
    background-color: #fff;
    margin: 10px auto 0 auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.patient-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.patient-id {
    font-size: 14px;
    color: #999;
}

.switch-btn {
    font-size: 14px;
    color: #1890ff;
    cursor: pointer;
}

/* 医院信息卡片 */
.zyyj-bg-two {
    width: 90%;
    margin: 15px auto 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hospital-header {
    background-color: #1890ff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hospital-icon {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    flex-shrink: 0;
}

.hospital-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.patient-info-list {
    padding: 20px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.info-label {
    font-size: 15px;
    color: #666;
    font-weight: 400;
    width: 80px;
    flex-shrink: 0;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-left: 20px;
}

/* 充值页面 */
.zyyj-bg-three {
    width: 90%;
    margin: 15px auto 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 280px;
}

.balance-section {
    text-align: center;
    margin-bottom: 20px;
}

.balance-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.dashed-line {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #ddd;
}

.recharge-section {
    margin-bottom: 30px;
}

.amount-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.currency-symbol {
    font-size: 16px;
    color: #333;
    margin-right: 8px;
    font-weight: 500;
}

.amount-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
}

.amount-input::placeholder {
    color: #999;
}

.amount-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e6f7ff;
    border-radius: 6px;
    background-color: #e6f7ff;
    color: #1890ff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn:hover {
    background-color: #bae7ff;
}

.recharge-btn {
    width: 100%;
    padding: 15px;
    background-color: #1890ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.recharge-btn:hover {
    background-color: #40a9ff;
}

/* 充值记录单独盒子 */
.zyyj-bg-four {
    width: 90%;
    margin: 15px auto 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 60px;
}

.history-section {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
}

.history-icon {
    position: relative;
    margin-right: 12px;
    color: #666;
}

.yen-symbol {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    color: #1890ff;
    font-weight: bold;
}

.history-text {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.arrow-icon {
    color: #999;
}

/* 充值弹窗样式 */
.recharge-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.recharge-modal {
    background-color: #333;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #555;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 auto 15px auto;
}


.recharge-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.success-text {
    color: #4CAF50;
}

/* 充值按钮禁用状态 */
.recharge-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}